package ocl;


public class UnionExpression extends OclExpression {

	
	
	private OclExpression exp1;
	private OclExpression exp2;

	public UnionExpression(OclExpression oclExpression,
			OclExpression oclExpression2) {
		exp1 = oclExpression;
		exp2 = oclExpression2;
	}

	@Override
	public String toK() {
		return exp1.toK() + " union " + exp2.toK();
	}
}
